package ru.nsu.ccfit.dronov;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlAttribute;

/**
 * Created by IntelliJ IDEA.
 * User: Asus
 * Date: 16.12.2009
 * Time: 3:05:19
 * To change this template use File | Settings | File Templates.
 */

public class Profile {

    private String firstName;

    private String secondName;

    private String password;

    private String login;

    private String role;

    private String addres;

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public void setAddres(String addres) {
        this.addres = addres;
    }

    public Profile()
    {
      firstName=new String();
        
    }

    @XmlElement(name = "firstName")
    public String getFirstName() {
        return firstName;
    }

    @XmlElement(name = "secondName")
    public String getSecondName() {
        return secondName;
    }

     @XmlElement(name = "password")
    public String getPassword() {
        return password;
    }
     @XmlElement(name = "role")
    public String getRole() {
        return role;
    }

     @XmlElement(name = "login")
    public String getLogin() {
        return login;
    }

    @XmlElement(name = "address") 
    public String getAddres() {
        return addres;
    }

}
